from lib.log.base import Logger


class ServerLogger(Logger):
    def __init__(self) -> None:
        super().__init__()
        self.__name = "server log"
        self.__path = "/server.log"

    def log(self, method, path, info="-"):
        msg = f"Method: {method}, Path: {path}, Info: {info}\n"
        self.write(msg)
